package com.jack.payment.dao.user;

import com.jack.payment.entity.filter.UserFilter;
import com.jack.payment.entity.generate.user.UserDeviceModel;

import java.util.List;

public interface UserDeviceDao {

    /**
     * 获取用户设备总数
     * @param userDeviceFilterModel
     * @return
     */
    Integer getAppointUserDeviceCount(UserFilter.UserDeviceFilter userDeviceFilterModel);

    /**
     * 获取指定的用户 的设备信息
     * @param userDeviceFilterModel
     * @return
     */
    List<UserDeviceModel> getAppointUserBindDeviceList(UserFilter.UserDeviceFilter userDeviceFilterModel);

    /**
     * 新增用户设备信息
     * @param userDeviceModel
     * @return
     */
    boolean insertUserDeviceInfo(UserDeviceModel userDeviceModel);

    /**
     * 修改用户设备信息
     * @param userDeviceModel
     * @return
     */
    boolean updateUserDeviceInfo(UserDeviceModel userDeviceModel);
}
